package ae.pcfc.cldos.online.common.tscdb.domain.manager.provider;

import java.util.List;

import ae.pcfc.cldos.online.common.tscdb.dao.TTscClientCompanyDAO;
import ae.pcfc.cldos.online.common.tscdb.domain.TTscClientCompany;
import ae.pcfc.cldos.online.common.tscdb.domain.manager.TTscClientCompanyDOM;

/**
 * 
 * @author arosa
 *
 */
public class TTscClientCompanyDOMImpl implements TTscClientCompanyDOM {

	private TTscClientCompanyDAO tTscClientCompanyDAO;
	
	public void settTscClientCompanyDAO(
			TTscClientCompanyDAO tTscClientCompanyDAO) {
		this.tTscClientCompanyDAO = tTscClientCompanyDAO;
	}
	
	public String getLicenseNumberNyTrakheesId(String trakheesId) {
		return tTscClientCompanyDAO.getLicenseNumberNyTrakheesId(trakheesId);
	}
	
	public String getCompanyTrakheesIdByLicanseNo(String licenseNo){
		return tTscClientCompanyDAO.getCompanyTrakheesIdByLicanseNo(licenseNo);
	}
	
	public TTscClientCompany getCompanyByTrakheesId(String trakheesId){
		return tTscClientCompanyDAO.getCompanyByTrakheesId(trakheesId);
	}
	
	public List<TTscClientCompany> getAllActiveCompanies(){
		return tTscClientCompanyDAO.getAllActiveCompanies();
	}

}
